package cn.stylefeng.guns.sys.modular.tao.mapper;

import cn.stylefeng.guns.sys.modular.tao.entity.Member;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MemberMapper {
    Member getMember(@Param("id") Object id);

    Member editMember(@Param("memberInfo")Member memberInfo);

    Member addMember(@Param("memberInfo")Member memberInfo);

    Member deleteMemberInfo(@Param("memberInfo")Member memberInfo);

    Member getMemberById(@Param("userId")String userId);

    int add(Member member);

    int update(@Param("memberInfo")Member promoter);
}
